Commit c11dbad
authored
docs(0.8): backport minP / repetitionPenalty docs to v0.8.x (#1111)
## Description
Backports the sampling and multimodal-rename doc edits from #1099 into
the v0.8.x useLLM.md and LLMModule.md pages, plus a JSDoc fence fix on
`useInstanceSegmentation.ts`. New `minP` / `repetitionPenalty` / `topP`
field names are rendered as plain inline code rather than anchor links,
since the v0.8.x `GenerationConfig.md` snapshot doesn't have those
entries.
### Introduces a breaking change?
- [ ] Yes
- [x] No
### Type of change
- [ ] Bug fix (change which fixes an issue)
- [ ] New feature (change which adds functionality)
- [x] Documentation update (improves or adds clarity to existing
documentation)
- [ ] Other (chores, tests, code style improvements etc.)
### Tested on
- [ ] iOS
- [ ] Android
### Testing instructions
`yarn build` in `docs/`.
### Screenshots
### Related issues
Follow-up to #1108 / `v0.8.4`.
### Checklist
- [x] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [x] I have updated the documentation accordingly
- [x] My changes generate no new warnings
### Additional notes1 parent 2372854 commit c11dbad
3 files changed
Lines changed: 28 additions & 10 deletions
File tree
- docs/versioned_docs/version-0.8.x
- 03-hooks/01-natural-language-processing
- 04-typescript-api/01-natural-language-processing
- packages/react-native-executorch/src/hooks/computer_vision
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
215 | 223 | | |
216 | 224 | | |
217 | 225 | | |
| |||
282 | 290 | | |
283 | 291 | | |
284 | 292 | | |
285 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
286 | 296 | | |
287 | 297 | | |
288 | 298 | | |
| |||
491 | 501 | | |
492 | 502 | | |
493 | 503 | | |
494 | | - | |
| 504 | + | |
495 | 505 | | |
496 | | - | |
| 506 | + | |
497 | 507 | | |
498 | 508 | | |
499 | 509 | | |
| |||
514 | 524 | | |
515 | 525 | | |
516 | 526 | | |
517 | | - | |
| 527 | + | |
518 | 528 | | |
519 | 529 | | |
520 | 530 | | |
| |||
537 | 547 | | |
538 | 548 | | |
539 | 549 | | |
540 | | - | |
| 550 | + | |
541 | 551 | | |
542 | 552 | | |
543 | 553 | | |
| |||
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
111 | 119 | | |
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
116 | 124 | | |
117 | | - | |
| 125 | + | |
118 | 126 | | |
119 | 127 | | |
120 | | - | |
| 128 | + | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments