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="FritzStack/HiTOP-Llama-3B_4bit")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("FritzStack/HiTOP-Llama-3B_4bit")
model = AutoModelForCausalLM.from_pretrained("FritzStack/HiTOP-Llama-3B_4bit")
Quick Links
!pip install git+https://github.com/Fede-stack/TONYpy.git
from TONY.HiTOP import HiTOP_Predictor
text = 'Some days I keep living, even though I feel completely alone in the world'
hitop = HiTOP_Predictor(model_name='FritzStack/HiTOP-Llama-3B_4bit')
hitop.predict_HiTOP(text)
Downloads last month
71
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW

Model tree for FritzStack/HiTOP-Llama-3B_4bit

Quantizations
1 model