leoozy commited on
Commit
cedee7a
1 Parent(s): e05b7d9

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pipeline_tag: feature-extraction
5
+ tags:
6
+ - pytorch
7
+ - RoBERTa
8
+ ---
9
+ # Model Card for SynCSE-scratch
10
+
11
+ # Model Details
12
+
13
+ ## Model Description
14
+
15
+ More information needed
16
+
17
+ - **Developed by:** SJTU-LIT
18
+ - **Shared by [Optional]:** SJTU-LIT
19
+
20
+ - **Model type:** Feature Extraction
21
+ - **Language(s) (NLP):** More information needed
22
+ - **License:** More information needed
23
+ - **Parent Model:** RoBERTa-base
24
+ - **Resources for more information:**
25
+ - [GitHub Repo](https://github.com/SJTU-LIT/SynCSE/tree/main)
26
+ - [Associated Paper](https://arxiv.org/abs/2305.15077)
27
+
28
+
29
+ # Uses
30
+
31
+
32
+ ## Direct Use
33
+ This model can be used for the task of feature extraction.
34
+
35
+ ## Out-of-Scope Use
36
+
37
+ The model should not be used to intentionally create hostile or alienating environments for people.
38
+
39
+ # Bias, Risks, and Limitations
40
+
41
+ Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.
42
+ ## Recommendations
43
+
44
+
45
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
46
+
47
+
48
+
49
+ # Training Data
50
+
51
+ The model craters note in the [Github Repository](https://github.com/SJTU-LIT/SynCSE/blob/main/README.md)
52
+ > We use 27.5k generated synthetic train SynCSE-sractch-RoBERTa-base.
53
+
54
+ # Citation
55
+
56
+
57
+ **BibTeX:**
58
+
59
+ ```bibtex
60
+ @article{zhang2023contrastive,
61
+ title={Contrastive Learning of Sentence Embeddings from Scratch},
62
+ author={Zhang, Junlei and Lan, Zhenzhong and He, Junxian},
63
+ journal={arXiv preprint arXiv:2305.15077},
64
+ year={2023}
65
+ }
66
+ ```
67
+
68
+ # Model Card Contact
69
+
70
+ If you have any questions related to the code or the paper, feel free to email Junlei (`zhangjunlei@westlake.edu.cn`). If you encounter any problems when using the code, or want to report a bug, you can open an issue. Please try to specify the problem with details so we can help you better and quicker!
71
+
72
+
73
+
74
+ # How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ <details>
79
+ <summary> Click to expand </summary>
80
+
81
+ ```python
82
+ from transformers import AutoTokenizer, AutoModel
83
+ tokenizer = AutoTokenizer.from_pretrained("sjtu-lit/SynCSE-partial-RoBERTa-base")
84
+ model = AutoModel.from_pretrained("sjtu-lit/SynCSE-partial-RoBERTa-base")
85
+
86
+ ```
87
+ </details>