generated from MarshalX/bluesky-feed-generator
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
algo_manifest.json.example
71 lines (71 loc) · 1.44 KB
/
algo_manifest.json.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"filter": {
"and": [
{
"regex_matches": [
{"var": "text"},
"\\bimportant\\b"
]
},
{
"regex_negation_matches": [
{"var": "text"},
"\\bunwanted_term\\b"
]
},
{
"social_graph": [
"devingaffney.com",
"is_in",
"follows",
]
},
{
"text_similarity": [
{"var": "text"},
{
"model_name": "all-MiniLM-L6-v2",
"anchor_text": "This is an important update"
},
">=",
0.3
]
},
{
"model_probability": [
{"model_name": "dril_detector"},
">=",
0.9
]
},
{
"attribute_compare": [
{"var": "langs"},
"==",
["en"]
}
]
},
"models": [
{
"model_name": "news_without_science_model",
"training_file": "prototype_labeled_dataset.json",
"feature_modules": [
{"type": "time_features"},
{"type": "vectorizer", "model_name": "all-MiniLM-L6-v2"},
{"type": "post_metadata"}
]
},
{
"model_name": "dril_detector",
"training_file": "dril_detector_dataset.json",
"feature_modules": [
{"type": "vectorizer", "model_name": "all-MiniLM-L6-v2"},
]
}
],
"author": {
"username": "devingaffney.com",
"password": "app-password"
}
}