music-4func
7
—
by
Jageen
Language Model
OTHER
New
7 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
text
Input: "Play Bohemian Rhapsody by Queen"
Output: call:play_song{song_name:<escape>Bohemian Rhapsody<escape>,artist:<escape>Queen<escape>}2. playback_controltext
Input: "Pause the music"
Output: call:playback_control{action:<escape>pause<escape>}text
Input: "Search for rock songs"
Output: call:search_music{query:<escape>rock songs<escape>}4. create_playlisttext
Input: "Create a playlist called Workout Mix"
Output: call:create_playlist{name:<escape>Workout Mix<escape>}Google Colabpython
# Use torch.float16 and device_map="auto" for GPU
base_model = AutoModelForCausalLM.from_pretrained(
"google/functiongemma-270m-it",
torch_dtype=torch.float16,
device_map="auto"
)Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.