NLPT/Telugu_Dilaog_Dataset
Viewer • Updated • 72.5k • 24 • 1
How to use dumbequation/Gemma2-Telugu-Instruct-9b with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("dumbequation/Gemma2-Telugu-Instruct-9b", dtype="auto")How to use dumbequation/Gemma2-Telugu-Instruct-9b with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for dumbequation/Gemma2-Telugu-Instruct-9b to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for dumbequation/Gemma2-Telugu-Instruct-9b to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dumbequation/Gemma2-Telugu-Instruct-9b to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="dumbequation/Gemma2-Telugu-Instruct-9b",
max_seq_length=2048,
)This Gemma 2 9B model has been instruction tuned to exhibit telugu fluency in STEM and general conversation through PEFT with a rank and alpha of 64
This gemma2 model was trained 2x faster with Unsloth and Huggingface's TRL library.