fixed broken link (#27560)

This commit is contained in:
V.Prasanna kumar
2023-11-17 21:50:42 +05:30
committed by GitHub
parent 5330b83bc5
commit 638d49983f
5 changed files with 5 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ pip install transformers datasets evaluate
>>> tokenizer = AutoTokenizer.from_pretrained("distilgpt2")
```
위의 예제에서 알 수 있듯이, `text` 필드는 `answers` 아래에 중첩되어 있습니다. 따라서 [`flatten`](https://huggingface.co/docs/datasets/process.html#flatten) 메소드를 사용하여 중첩 구조에서 `text` 하위 필드를 추출해야 합니다.
위의 예제에서 알 수 있듯이, `text` 필드는 `answers` 아래에 중첩되어 있습니다. 따라서 [`flatten`](https://huggingface.co/docs/datasets/process#flatten) 메소드를 사용하여 중첩 구조에서 `text` 하위 필드를 추출해야 합니다.
```py
>>> eli5 = eli5.flatten()