Chi Honolulu commited on
Commit
257c013
1 Parent(s): d243847

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -0
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # For reference on model card metadata, see the spec: https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1
3
+ # Doc / guide: https://huggingface.co/docs/hub/model-cards
4
+ license: mit
5
+ language:
6
+ - multilingual
7
+ ---
8
+ # Model Card for xlm-roberta-large-binary-cs-iib
9
+
10
+ <!-- Provide a quick summary of what the model is/does. -->
11
+
12
+ This model is fine-tuned for text classification of Supportive Interactions in Instant Messenger dialogs of Adolescents. The classification is binary and the model outputs probablities for labels> 0,1: Supportive Interactions present or not.
13
+
14
+ ## Model Details
15
+
16
+ ### Model Description
17
+
18
+ Fine-tuned on the machine-translated version of a dataset of Instant Messenger dialogs of Adolescents originally in the Czech language.
19
+
20
+ - **Developed by:** Anonymous
21
+ - **Language(s):** multi-lingual
22
+ - **Finetuned from:** xlm-roberta-large
23
+
24
+ ### Model Sources
25
+
26
+ <!-- Provide the basic links for the model. -->
27
+
28
+ - **Repository:** https://github.com/chi2024submission
29
+ - **Paper:** Stay tuned!
30
+
31
+ ## Usage
32
+ Here is how to use this model to classify a context-window of a dialogue:
33
+
34
+ ```python
35
+ from transformers import AutoTokenizer, AutoModel
36
+ tokenizer = AutoTokenizer.from_pretrained('xlm-roberta-large')
37
+ model = AutoModelForSequenceClassification.from_pretrained("chi2024/xlm-roberta-large-binary-cs-iib")
38
+ # prepare input
39
+ utterances = "Hi, how are you?;I am fine, how about you?;Thanks for asking."
40
+ encoded_input = tokenizer(text, return_tensors='pt')
41
+ # forward pass
42
+ output = model(**encoded_input)
43
+ ```