commit
bfef672f28
|
|
@ -422,7 +422,7 @@ tensor(10.7940)
|
||||||
```python
|
```python
|
||||||
file_path = "the-verdict.txt"
|
file_path = "the-verdict.txt"
|
||||||
with open(file_path, "r", encoding="utf-8") as file:
|
with open(file_path, "r", encoding="utf-8") as file:
|
||||||
text_data = file.read()
|
text_data = file.read()
|
||||||
```
|
```
|
||||||
|
|
||||||
加载数据集后,我们可以查看其中的字符数和 token 数:
|
加载数据集后,我们可以查看其中的字符数和 token 数:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue