Text Classification
Transformers
Safetensors
Chinese
qwen3
text-generation
custom_code
turn-taking
turn-detection
spoken-dialogue
duplex-conversation
conversational
vllm
text-embeddings-inference
Instructions to use xcczach/xturnix-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xcczach/xturnix-pt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="xcczach/xturnix-pt", trust_remote_code=True) 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("xcczach/xturnix-pt", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("xcczach/xturnix-pt", trust_remote_code=True, 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
Add pipeline tag and paper link
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,24 +1,27 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
library_name: transformers
|
| 3 |
license: apache-2.0
|
| 4 |
-
|
| 5 |
-
- zh
|
| 6 |
-
base_model: Qwen/Qwen3-0.6B
|
| 7 |
tags:
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
---
|
| 17 |
|
| 18 |
**English** | [中文](./README_zh.md)
|
| 19 |
|
| 20 |
# XTurnix Pretrained (Qwen3 0.6B)
|
| 21 |
|
|
|
|
|
|
|
| 22 |
[](https://github.com/xcc-zach/xturnix)
|
| 23 |
|
| 24 |
Predict turn-taking decisions from transcribed dialogue history: whether the AI
|
|
@@ -112,4 +115,4 @@ Use the included `vllm_client.py` as the reference client.
|
|
| 112 |
## Complete Deployment
|
| 113 |
|
| 114 |
This model is supported by the
|
| 115 |
-
[X-Talk dialogue framework](https://github.com/xcc-zach/xtalk).
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen3-0.6B
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
library_name: transformers
|
| 6 |
license: apache-2.0
|
| 7 |
+
pipeline_tag: text-classification
|
|
|
|
|
|
|
| 8 |
tags:
|
| 9 |
+
- qwen3
|
| 10 |
+
- custom_code
|
| 11 |
+
- turn-taking
|
| 12 |
+
- turn-detection
|
| 13 |
+
- spoken-dialogue
|
| 14 |
+
- duplex-conversation
|
| 15 |
+
- conversational
|
| 16 |
+
- vllm
|
| 17 |
---
|
| 18 |
|
| 19 |
**English** | [中文](./README_zh.md)
|
| 20 |
|
| 21 |
# XTurnix Pretrained (Qwen3 0.6B)
|
| 22 |
|
| 23 |
+
This model is described in [XTurnix: Large-Scale Self-Supervised Turn Control through Two-State Binary Decisions](https://huggingface.co/papers/2610.04400).
|
| 24 |
+
|
| 25 |
[](https://github.com/xcc-zach/xturnix)
|
| 26 |
|
| 27 |
Predict turn-taking decisions from transcribed dialogue history: whether the AI
|
|
|
|
| 115 |
## Complete Deployment
|
| 116 |
|
| 117 |
This model is supported by the
|
| 118 |
+
[X-Talk dialogue framework](https://github.com/xcc-zach/xtalk).
|