12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- # 表头识别模型
- ai2config = {
- "table_field_config": {
- "corpus_path": "./docs/table_head_doc/field_label.csv",
- "vocab_file": './docs/table_head_doc/table_head_vocab',
- "vocab_label": './docs/table_head_doc/table_head_le',
- "epochs": 4000,
- "lr": 1e-2,
- "momentum": .8,
- "model_path": './docs/table_head_doc/table_head_clf_model'
- }}
- amount_config = {
- "table_field_config": {
- "path": "./docs/table_head_doc/amount_label.csv",
- }}
- budget_config = {
- "table_field_config": {
- "path": "./docs/table_head_doc/budget_label.csv",
- }}
- general_config = {
- "table_field_config": {
- "path": "./docs/table_head_doc/general_label.csv",
- }}
- abnormal_config = {
- "table_field_config": {
- "path1": "./docs/table_head_doc/abnormal_buyer_begin.csv",
- "path2": "./docs/table_head_doc/abnormal_buyer_contain.csv",
- "path3": "./docs/table_head_doc/abnormal_buyer_end.csv",
- "path4": "./docs/table_head_doc/projectcode.csv",
- "path5": "./docs/table_head_doc/title_abnormal.csv",
- "path6": "./docs/table_head_doc/title_abnormal_contain.csv",
- "path7": "./docs/table_head_doc/trusted_site.csv"
- }}
- # 调试
- DEBUG = True
- # 字段识别模型
- FieldServer = {
- "a2s_ip": "172.17.0.11:9090",
- "topic": "goods_field",
- "timeout": 60,
- "retry_times": 5,
- }
- # 组织机构识别模型
- RecognitionServer = {
- "a2s_ip": "172.17.0.11:9090",
- "topic": "recognition_org",
- "timeout": 60,
- "retry_times": 5,
- }
- # 产品识别模型
- ProductServer = {
- "a2s_ip": "172.17.0.11:9090",
- "topic": "recognition_goods",
- "timeout": 60,
- "retry_times": 5,
- }
- # update_urls_mongodb
- ReluMongodb = {
- "ip_port": "172.20.45.129:27002",
- "user": "",
- "password": "",
- "db": "data_quality",
- "col": "quality",
- }
|