Skip to content

Commit bdfc941

Browse files
author
jakmro
committed
docs: update references to loading models to specify loading resources
1 parent 68d35a4 commit bdfc941

23 files changed

Lines changed: 65 additions & 28 deletions

docs/docs/02-hooks/01-natural-language-processing/useLLM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The code snippet above fetches the model from the specified URL, loads it into m
6060

6161
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
6262

63-
For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) section.
63+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
6464

6565
### Returns
6666

docs/docs/02-hooks/01-natural-language-processing/useSpeechToText.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Given that STT models can process audio no longer than 30 seconds, there is a ne
8484

8585
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
8686

87-
For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
87+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
8888

8989
### Returns
9090

docs/docs/02-hooks/01-natural-language-processing/useTextEmbeddings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ try {
4545

4646
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
4747

48-
For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
48+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
4949

5050
### Returns
5151

docs/docs/02-hooks/01-natural-language-processing/useTokenizer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ try {
5252

5353
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
5454

55-
For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
55+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
5656

5757
### Returns
5858

docs/docs/02-hooks/02-computer-vision/useClassification.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ try {
3232

3333
**`model`** - Object containing the model source.
3434

35-
- **`modelSource`** - A string that specifies the location of the model binary. For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
35+
- **`modelSource`** - A string that specifies the location of the model binary.
3636

3737
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
3838

39+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
40+
3941
### Returns
4042

4143
| Field | Type | Description |

docs/docs/02-hooks/02-computer-vision/useImageEmbeddings.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ try {
4343

4444
**`model`** - Object containing the model source.
4545

46-
- **`modelSource`** - A string that specifies the location of the model binary. For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
46+
- **`modelSource`** - A string that specifies the location of the model binary.
4747

4848
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
4949

50+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
51+
5052
### Returns
5153

5254
| Field | Type | Description |

docs/docs/02-hooks/02-computer-vision/useImageSegmentation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ try {
3131

3232
**`model`** - Object containing the model source.
3333

34-
- **`modelSource`** - A string that specifies the location of the model binary. For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
34+
- **`modelSource`** - A string that specifies the location of the model binary.
3535

3636
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
3737

38+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
39+
3840
### Returns
3941

4042
| Field | Type | Description |

docs/docs/02-hooks/02-computer-vision/useOCR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ interface OCRDetection {
128128

129129
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
130130

131-
For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) section.
131+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
132132

133133
### Returns
134134

docs/docs/02-hooks/02-computer-vision/useObjectDetection.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ interface Detection {
5555
**`model`** - Object containing the model source.
5656

5757
- **`modelSource`** - A string that specifies the path to the model file. You can download the model from our [HuggingFace repository](https://huggingface.co/software-mansion/react-native-executorch-ssdlite320-mobilenet-v3-large/tree/main).
58-
For more information on that topic, you can check out the [Loading models](../../01-fundamentals/02-loading-models.md) page.
5958

6059
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
6160

61+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
62+
6263
### Returns
6364

6465
The hook returns an object with the following properties:

docs/docs/02-hooks/02-computer-vision/useStyleTransfer.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ try {
3131

3232
**`model`** - Object containing the model source.
3333

34-
- **`modelSource`** - A string that specifies the location of the model binary. For more information, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
34+
- **`modelSource`** - A string that specifies the location of the model binary.
3535

3636
**`preventLoad?`** - Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
3737

38+
For more information on loading resources, take a look at [loading models](../../01-fundamentals/02-loading-models.md) page.
39+
3840
### Returns
3941

4042
| Field | Type | Description |

0 commit comments

Comments
 (0)