Skip to content

Commit b4d160d

Browse files
Update README.md
1 parent f3de0e4 commit b4d160d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,30 @@ top_tok_html = top_tok.to_html(top_tok.view(),thresh=thresh)
187187
for line in first_model_html:
188188
display_html(line, raw=True)
189189
```
190+
191+
---
192+
## FAQ
193+
194+
#### In the example we used to write vw modality like **@modality** is it a VowpallWabbit format?
195+
196+
It is a convention to write data designating modalities with @ sign taken by TopicNet from BigARTM.
197+
198+
#### CubeCreator helps to perform a grid search over initial model parameters. How can I do it with modalities?
199+
200+
Modality search space can be defined using standart library logic like:
201+
```
202+
name: 'class_ids',
203+
values: {
204+
'@text': [1, 2, 3],
205+
'@ngrams': [4, 5, 6],
206+
},
207+
```
208+
However for the case of modalities a couple of slightly more convenient methods are availiable:
209+
210+
```
211+
[{'name': 'class_ids@text', 'values': [1, 2, 3]},
212+
{'name': 'class_ids@ngrams', 'values': [4, 5, 6]}]
213+
{'class_ids@text': [1, 2, 3],
214+
'class_ids@ngrams': [4, 5, 6]}
215+
216+
```

0 commit comments

Comments
 (0)