Uv workflow improvements (#531)

* Uv workflow improvements

* Uv workflow improvements

* linter improvements

* pytproject.toml fixes

* pytproject.toml fixes

* pytproject.toml fixes

* pytproject.toml fixes

* pytproject.toml fixes

* pytproject.toml fixes

* windows fixes

* windows fixes

* windows fixes

* windows fixes

* windows fixes

* windows fixes

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix
This commit is contained in:
Sebastian Raschka
2025-02-16 13:16:51 -06:00
committed by GitHub
parent 29353c74d8
commit a08d7aaa84
29 changed files with 382 additions and 321 deletions

View File

@@ -144,12 +144,11 @@
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "17f1a42c-7cc0-4746-8a6d-3a4cb37e2ca1",
"cell_type": "markdown",
"id": "81f0d9c8-8f41-4455-b9ae-6b17de610cc3",
"metadata": {},
"outputs": [],
"source": [
"```python\n",
"import tiktoken\n",
"from torch.utils.data import Dataset\n",
"\n",
@@ -178,7 +177,8 @@
" return len(self.data)\n",
"\n",
"\n",
"tokenizer = tiktoken.get_encoding(\"gpt2\")"
"tokenizer = tiktoken.get_encoding(\"gpt2\")\n",
"```"
]
},
{
@@ -1017,7 +1017,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.10.16"
}
},
"nbformat": 4,