No model card yet.
License
other
Tasks
text-generation
Frameworks
transformers
Hardware-aware snippets
Runtime-specific quick starts for TheBloke/phi-2-GGUF. Detected hardware: No explicit hardware metadata.
Task: text-generationTransformersGGUF
NVIDIA CUDA path
Best default for NVIDIA GPUs and hosted accelerator nodes.
pip install torch transformers accelerate
python - <<'PY'
from transformers import pipeline
model_id = "TheBloke/phi-2-GGUF"
pipe = pipeline(
task="text-generation",
model=model_id,
device_map="auto",
model_kwargs={"torch_dtype": "auto"},
)
print(pipe("Hello from Inferix"))
PYModel lineage
1 reposBase model
microsoft/phi-2Finetuned
1phi-2-GGUFselected
Quantizations
0No quantization variants detected.
Model info
Namespace
TheBloke
Visibility
public
Downloads
0
Likes
0
License: other
Evaluation results
Entries
0
Tasks
0
Datasets
0
No evaluation results published yet.
Metadata links
Inference providers
0/0 fitNot available for inference yet.
Spaces using this model
No spaces linked yet.
Part of collections
No public collections include this model.
Tags
importedhuggingfaceminiotransformersggufphi-msftnlpcodetext-generationenbase_model:microsoft/phi-2base_model:quantized:microsoft/phi-2license:otherregion:us