File size: 1,110 Bytes
bec79cf
 
8122d73
bec79cf
 
8122d73
bec79cf
8122d73
bec79cf
8122d73
 
bec79cf
8122d73
bec79cf
8122d73
bec79cf
8122d73
 
 
bec79cf
8122d73
bec79cf
8122d73
bec79cf
8122d73
 
bec79cf
8122d73
 
bec79cf
8122d73
 
 
bec79cf
8122d73
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
base_model: flair/bueble-lm-2b
license: mit
---

# BübleLM QLoRA – Grounding Act Classification

This model is a fine-tuned version of [flair/bueble-lm-2b](https://huggingface.co/flair/bueble-lm-2b), optimized using QLoRA for efficient binary classification of German dialogue utterances into:

- **advance**: Contribution that moves the dialogue forward (e.g. confirmations, follow-ups, elaborations)
- **non_advance**: Other utterances (e.g. vague responses, misunderstandings, irrelevant comments)

---

## Use Cases

- Dialogue system analysis
- Teacher-student interaction classification
- Grounding in institutional advising or classroom discourse

---

## How to Use

```python
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("MB55/bueble-classifier")
tokenizer = AutoTokenizer.from_pretrained("MB55/bueble-classifier")

inputs = tokenizer("Can you explain it again?", return_tensors="pt")
outputs = model(**inputs)
prediction = outputs.logits.argmax(dim=-1)

print(prediction)  # 0 = non_advance, 1 = advance