Text Generation
Transformers
Safetensors
llama
text-generation-inference
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="mayank-mishra/granite-3b-code-glaive-20k")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("mayank-mishra/granite-3b-code-glaive-20k")
model = AutoModelForCausalLM.from_pretrained("mayank-mishra/granite-3b-code-glaive-20k", device_map="auto")
Quick Links
Downloads last month
28
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mayank-mishra/granite-3b-code-glaive-20k

Finetuned
(5)
this model
Quantizations
1 model

Dataset used to train mayank-mishra/granite-3b-code-glaive-20k

Collection including mayank-mishra/granite-3b-code-glaive-20k