Instructions to use x-square-robot/X2-Turn-4B-0812 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use x-square-robot/X2-Turn-4B-0812 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="x-square-robot/X2-Turn-4B-0812")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("x-square-robot/X2-Turn-4B-0812") model = AutoModelForMultimodalLM.from_pretrained("x-square-robot/X2-Turn-4B-0812", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Demo for this model on Spaces
Hi @x-square-robot 🤗
I'm Apolinario, from the open-source team at Hugging Face. Congrats and thanks for open-sourcing x-square-robot/X2-Turn-4B-0812 on the Hub! We were excited about this work and built with an agent an interactive demo app of it on Hugging Face Spaces, running on a free ZeroGPU infrastructure.
Here's a link to the demo: https://huggingface.co/spaces/hugging-apps/x2-turn-4b-demo
We would love to transfer this demo to you or your organization. Would you like this demo to live under your own account or organization? If so just let me know here which username to transfer to, and we'll transfer the Space over to you, we hope it can give your work more visibility, discoverability and allows folks to try it out.
(If you have any questions or just want to chat more about this, you can find me on Twitter, LinkedIn or apolinario @ huggingface.co)
Cheers,
Poli
Hi Poli,
Thanks so much for reaching out, and for building this demo — really appreciate the effort from the HF open-source team! We'd love to have it live under our own org.
Please go ahead and transfer it to x-square-robot.
Thanks again for the support in giving the model more visibility!
Best,
Kaiqi Fu
Hey @kaiqfu !
Thank you for open sourcing X2-Turn-4B-0812!
Transferred to: https://huggingface.co/spaces/x-square-robot/x2-turn-4b-demo with a ZeroGPU grant
Free to post about, put the demo on the project page, reference it on repos, etc. as you wish
Also feel more than free to take ownership and make modifications as you see fit. For future releases from you, would be great if they already came with a demos! You can use this one as a blueprint to build by yourself or with the help of an agent, you can load the huggingface-spaces skill on Claude Code, Codex, Hermes, Pi, etc.
Cheers,
Poli
Hey Poli,
Thanks so much — really appreciate the transfer and the ZeroGPU grant! We've also just updated the model card/repo.
Great tip on the huggingface-spaces skill too, we'll make sure future releases ship with a demo from the start.
Thanks again for all the support from the HF team!
Best,
Kaiqi
Hey Poli, @multimodalart
Thanks again for setting this up! Just noticed the Space is currently showing a runtime error after the transfer:
"Scheduling failure: unable to schedule"
I don't have restart/admin access on this one myself, and I'm not sure if this is related to the ZeroGPU grant still propagating or something else on the scheduling side. Could you or someone on the team take a look when you get a chance?
Thanks a lot for the help!
Best,
Kaiqi