Summarization
Transformers
Safetensors
English
phi
text-generation
arxiv
custom_code
text-generation-inference
Instructions to use AlgorithmicResearchGroup/phi-arxiv-physics-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlgorithmicResearchGroup/phi-arxiv-physics-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-physics-instruct", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AlgorithmicResearchGroup/phi-arxiv-physics-instruct", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("AlgorithmicResearchGroup/phi-arxiv-physics-instruct", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Commit ·
e79b094
1
Parent(s): d20fc44
Update README.md
Browse files
README.md
CHANGED
|
@@ -57,7 +57,7 @@ generate("what is an atom?")
|
|
| 57 |
|
| 58 |
## Training Data
|
| 59 |
|
| 60 |
-
The model was trained on [ArtifactAI/arxiv-
|
| 61 |
|
| 62 |
# Citation
|
| 63 |
|
|
|
|
| 57 |
|
| 58 |
## Training Data
|
| 59 |
|
| 60 |
+
The model was trained on [ArtifactAI/arxiv-physics-instruct-50k](https://huggingface.co/datasets/ArtifactAI/arxiv-physics-instruct-50k), a dataset of question/answer pairs. Questions are generated using the t5-base model, while the answers are generated using the GPT-3.5-turbo model.
|
| 61 |
|
| 62 |
# Citation
|
| 63 |
|