Summarization
Transformers
Safetensors
English
phi
text-generation
arxiv
custom_code
text-generation-inference
Instructions to use AlgorithmicResearchGroup/phi-arxiv-cs-ml-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlgorithmicResearchGroup/phi-arxiv-cs-ml-instruct with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="AlgorithmicResearchGroup/phi-arxiv-cs-ml-instruct", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AlgorithmicResearchGroup/phi-arxiv-cs-ml-instruct", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("AlgorithmicResearchGroup/phi-arxiv-cs-ml-instruct", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload tokenizer
c4eb9a8 -
Upload PhiForCausalLM
db0cb31 -
Update configuration_phi.py
9f2880a -
Update config.json
d0ee060 -
Create modeling_phi.py
d5bab9b -
Create configuration_phi.py
fa1fb78 -
Update config.json
59a163d -
Create requirements.txt
a6d9243 -
Create handler.py
caaddc6
-
Create configuration_mixformer_sequential.py
3b0f747 -
Update config.json
087e83d -
Update config.json
ccae02c
-
Update README.md
4441ead -
Create README.md
6186639 -
Upload tokenizer
621becd -
Upload MixFormerSequentialForCausalLM
1a72d2f -
initial commit
Matthew Kenneyfff4874