Text Generation
Transformers
TensorBoard
Safetensors
gemma3_text
Generated from Trainer
trl
sft
conversational
text-generation-inference
Instructions to use nitinr910/mobile-actions-functiongemma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nitinr910/mobile-actions-functiongemma with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nitinr910/mobile-actions-functiongemma") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nitinr910/mobile-actions-functiongemma") model = AutoModelForCausalLM.from_pretrained("nitinr910/mobile-actions-functiongemma", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nitinr910/mobile-actions-functiongemma with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nitinr910/mobile-actions-functiongemma" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nitinr910/mobile-actions-functiongemma", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nitinr910/mobile-actions-functiongemma
- SGLang
How to use nitinr910/mobile-actions-functiongemma with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "nitinr910/mobile-actions-functiongemma" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nitinr910/mobile-actions-functiongemma", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "nitinr910/mobile-actions-functiongemma" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nitinr910/mobile-actions-functiongemma", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nitinr910/mobile-actions-functiongemma with Docker Model Runner:
docker model run hf.co/nitinr910/mobile-actions-functiongemma
Commit History
-
Training in progress, step 1500
Verified signature5ee6b35 -
Training in progress, step 1000
Verified signatureec0a627 -
Training in progress, step 500
Verified signaturedb2ec46 -
Model save
Verified signature13ba266 -
Training in progress, step 3178
Verified signaturecf48e8a -
Training in progress, step 3000
Verified signature2580f1c -
Training in progress, step 2500
Verified signature07e847a -
Training in progress, step 2000
Verified signature89e6778 -
Training in progress, step 1500
Verified signaturebfb8547 -
Training in progress, step 1000
Verified signatured80dd6a -
Training in progress, step 500
Verified signature704c740
-
Model save
Verified signature6a5be5e -
Training in progress, step 3285
Verified signature731bf39 -
Training in progress, step 3000
Verified signature9d7452b -
Training in progress, step 2500
Verified signature1eb7509 -
Training in progress, step 2000
Verified signatured2f3baf -
Training in progress, step 1500
Verified signature6874d3e -
Training in progress, step 1000
Verified signature3cd5bc4 -
Training in progress, step 500
Verified signature0bf51a9
-
Model save
Verified signaturec5934fc -
Training in progress, step 1412
Verified signaturef20994a -
Training in progress, step 1000
Verified signature311c1fe -
Training in progress, step 500
Verified signatureeaff52c
-
Model save
Verified signaturee3a58e7 -
Model save
Verified signature30295b2 -
Training in progress, step 1000
Verified signaturec30f84b -
Training in progress, step 500
Verified signature53738dc
-
Model save
Verified signature2ed4111
-
Training in progress, step 876
Verified signature7df31b9