AlirezaF138 commited on
Commit
7a71720
·
verified ·
1 Parent(s): 6707d93

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -0
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - text2text-generation
4
+ - sentence-similarity
5
+ language:
6
+ - fa
7
+ pretty_name: 'FarSSiM: A Farsi (Persian) Semantic Similarity Measurement Dataset'
8
+ size_categories:
9
+ - 1K<n<10K
10
+ ---
11
+ # FarSSiM: Persian Sentence Similarity Dataset
12
+
13
+ This repository hosts the Persian Sentence Similarity dataset, originally created and maintained by [Mojtaba Sajjadi](https://github.com/mojtabasajjadi) under the [FarSSiM repository](https://github.com/mojtabasajjadi/FarSSiM). All credits for the creation, curation, and publication of this dataset go to Mojtaba Sajjadi.
14
+
15
+ ## Dataset Overview
16
+
17
+ FarSSiM is a high-quality Persian dataset focused on sentence similarity tasks. The dataset contains pairs of Persian sentences along with similarity scores, making it suitable for tasks such as:
18
+
19
+ - Semantic textual similarity (STS)
20
+ - Natural language inference (NLI)
21
+ - Paraphrase detection
22
+
23
+ This dataset can be a valuable resource for researchers and practitioners working on Persian NLP or multilingual NLP tasks.
24
+
25
+ ### Dataset Structure
26
+
27
+ Each sample in the dataset consists of:
28
+
29
+ - `sentence1`: The first sentence in Persian.
30
+ - `sentence2`: The second sentence in Persian.
31
+ - `similarity_score`: A numeric score representing the similarity between the two sentences.
32
+
33
+ The similarity scores are typically normalized between 0 and 1, where 1 indicates high similarity and 0 indicates no similarity.
34
+
35
+ ### File Structure
36
+
37
+ The dataset is provided in CSV format and includes the following columns:
38
+
39
+ | Column Name | Description |
40
+ |---------------------|--------------------------------------------------|
41
+ | `sentence1` | The first Persian sentence. |
42
+ | `sentence2` | The second Persian sentence. |
43
+ | `similarity_score` | Similarity score between `sentence1` and `sentence2`. |
44
+
45
+ ## Installation and Usage
46
+
47
+ This dataset is available on the Hugging Face Hub and can be loaded using the `datasets` library:
48
+
49
+ ```python
50
+ from datasets import load_dataset
51
+
52
+ # Load the FarSSiM dataset
53
+ farssim = load_dataset("AlirezaF138/FarSSiM")
54
+
55
+ # Access the training split
56
+ print(farssim["train"][0])
57
+ ```
58
+
59
+ ## Citation
60
+
61
+ If you use this dataset in your research, please cite the original repository:
62
+
63
+ ```bibtex
64
+ @misc{sajjadi2023farssim,
65
+ author = {Mojtaba Sajjadi},
66
+ title = {FarSSiM: Persian Sentence Similarity Dataset},
67
+ year = {2023},
68
+ publisher = {GitHub},
69
+ journal = {GitHub repository},
70
+ howpublished = {\url{https://github.com/mojtabasajjadi/FarSSiM}}
71
+ }
72
+ ```
73
+
74
+ ## License
75
+
76
+ Please refer to the [original repository](https://github.com/mojtabasajjadi/FarSSiM) for licensing information. Ensure compliance with the original license terms when using this dataset.
77
+
78
+ ## Credits
79
+
80
+ This dataset was originally created and maintained by [Mojtaba Sajjadi](https://github.com/mojtabasajjadi). This repository simply rehosts the dataset for ease of access and integration into the Hugging Face ecosystem.