Downloads · 30 days
0
0% of all-time downloads
ayoubkirouane/phi-2-arxiv-physics
phi-2-arxiv-physics is a text generation model from ayoubkirouane. Use it when you need the model to write or continue text. It is set up for transformers.
Phi-2-arxiv-physics is a small language model (SLM) derived from Microsoft Research's Phi-2, a Transformer-based model with 2.7 billion parameters. Specifically fine-tuned using the innovative QLoRA (Quantized Low-ran…
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
5
Public
Repo size
3.7 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 100%
From the Hugging Face model README
Phi-2-arxiv-physics is a small language model (SLM) derived from Microsoft Research's Phi-2, a Transformer-based model with 2.7 billion parameters. Specifically fine-tuned using the innovative QLoRA (Quantized Low-rank Adapters) technique, this model exhibits remarkable capabilities in the domain of physics-related text.
The model has been fine-tuned using QLoRA, a technique that reduces computational and memory requirements during the fine-tuning process.
This two-stage approach involves quantizing parameters and introducing learnable low-rank adapters, resulting in faster fine-tuning with reduced memory demands.
Phi-2-arxiv-physics is specifically trained on the arXiv-physics dataset, consisting of questions and answers related to physics.
This dataset is sourced from the arXiv repository, encompassing a wide range of topics within the field of physics.
Usage (High-level) :
!pip install -q -U git+https://github.com/huggingface/transformers.git
from transformers import pipeline
pipe = pipeline("text-generation", model="ayoubkirouane/phi-2-arxiv-physics")
## or :
# load it directly
from transformers import AutoModel
model = AutoModel.from_pretrained("ayoubkirouane/phi-2-arxiv-physics")