Skip to content

Commit 96b30ae

Browse files
committed
Fix guide URLs in README
1 parent 0432df6 commit 96b30ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const pipe = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncase
108108
});
109109
```
110110

111-
For more information, check out the [WebGPU guide](./guides/webgpu).
111+
For more information, check out the [WebGPU guide](https://huggingface.co/docs/transformers.js/guides/webgpu).
112112

113113
> [!WARNING]
114114
> The WebGPU API is still experimental in many browsers, so if you run into any issues,
@@ -118,7 +118,7 @@ In resource-constrained environments, such as web browsers, it is advisable to u
118118
the model to lower bandwidth and optimize performance. This can be achieved by adjusting the `dtype` option,
119119
which allows you to select the appropriate data type for your model. While the available options may vary
120120
depending on the specific model, typical choices include `"fp32"` (default for WebGPU), `"fp16"`, `"q8"`
121-
(default for WASM), and `"q4"`. For more information, check out the [quantization guide](./guides/dtypes).
121+
(default for WASM), and `"q4"`. For more information, check out the [quantization guide](https://huggingface.co/docs/transformers.js/guides/dtypes).
122122
```javascript
123123
// Run the model at 4-bit quantization
124124
const pipe = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncased-finetuned-sst-2-english', {

docs/snippets/1_quick-tour.snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const pipe = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncase
5252
});
5353
```
5454

55-
For more information, check out the [WebGPU guide](./guides/webgpu).
55+
For more information, check out the [WebGPU guide](/guides/webgpu).
5656

5757
> [!WARNING]
5858
> The WebGPU API is still experimental in many browsers, so if you run into any issues,
@@ -62,7 +62,7 @@ In resource-constrained environments, such as web browsers, it is advisable to u
6262
the model to lower bandwidth and optimize performance. This can be achieved by adjusting the `dtype` option,
6363
which allows you to select the appropriate data type for your model. While the available options may vary
6464
depending on the specific model, typical choices include `"fp32"` (default for WebGPU), `"fp16"`, `"q8"`
65-
(default for WASM), and `"q4"`. For more information, check out the [quantization guide](./guides/dtypes).
65+
(default for WASM), and `"q4"`. For more information, check out the [quantization guide](/guides/dtypes).
6666
```javascript
6767
// Run the model at 4-bit quantization
6868
const pipe = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncased-finetuned-sst-2-english', {

0 commit comments

Comments
 (0)