How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="RichardErkhov/echarlaix_-_tiny-random-PhiForCausalLM-4bits")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("RichardErkhov/echarlaix_-_tiny-random-PhiForCausalLM-4bits")
model = AutoModelForCausalLM.from_pretrained("RichardErkhov/echarlaix_-_tiny-random-PhiForCausalLM-4bits")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Quantization made by Richard Erkhov.

Github

Discord

Request more models

tiny-random-PhiForCausalLM - bnb 4bits

Original model description:

license: apache-2.0

Downloads last month
1
Safetensors
Model size
82.3k params
Tensor type
F32
F16
U8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support