Datasets:

Modalities:
Tabular
Text
Formats:
csv
Languages:
German
ArXiv:
Libraries:
Datasets
pandas
License:
PhilipMay commited on
Commit
d359958
·
1 Parent(s): 126ac08

load dataset

Browse files
Files changed (1) hide show
  1. README.md +13 -1
README.md CHANGED
@@ -128,7 +128,19 @@ def jaccard_similarity(text1, text2, somajo_tokenizer):
128
  return jaccard_similarity
129
  ```
130
 
131
- ## Load this dataset with Pandas
 
 
 
 
 
 
 
 
 
 
 
 
132
  If you want to download the csv file and then load it with Pandas you can do it like this:
133
  ```python
134
  df = pd.read_csv("train.csv")
 
128
  return jaccard_similarity
129
  ```
130
 
131
+ ## Load this dataset
132
+
133
+ ### With Hugging Face Datasets
134
+
135
+ ```python
136
+ # pip install datasets
137
+ from datasets import load_dataset
138
+
139
+ dataset = load_dataset("deutsche-telekom/ger-backtrans-paraphrase")
140
+ train_dataset = dataset["train"]
141
+ ```
142
+
143
+ ### With Pandas
144
  If you want to download the csv file and then load it with Pandas you can do it like this:
145
  ```python
146
  df = pd.read_csv("train.csv")