sinovation / zen2 Goto Github PK
View Code? Open in Web Editor NEWThe enhanced version of ZEN, larger and more powerful.
License: MIT License
The enhanced version of ZEN, larger and more powerful.
License: MIT License
Excuse me, when I use the fine-tuned msra_ner model to fine-tune other dateset(like weibo, resume..), it return error sometimes, like
`Traceback (most recent call last):
File "run_token_level_ft_task.py", line 1263, in
--main()
File "run_token_level_ft_task.py", line 1240, in main
--result = evaluate(args, model, tokenizer, ngram_dict, processor, label_list, device, mode="dev")
File "run_token_level_ft_task.py", line 976, in evaluate
--temp_2.append(label_map[logits[i][j]])
KeyError: 0
`
the label_map doesn't have the key-"0", but I get it, (I dont modify the code) and my paratemers is
os.system("python run_token_level_ft_task.py --task_name weibo --seed 123 " "--do_eval --eval_test --do_lower_case --data_dir ./dataset/weibo " "--init_checkpoint dataset/zh_zen_base_2.0_ft_msraner --max_seq_length 128 --output_dir ./result " "--learning_rate 1e-5 " "--train_batch_size 8 --num_train_epochs 30 --warmup_proportion 0.1")
If possible, could you check this question, thanks!!
Dear authors,
I have seen the ZEN2 achieves great success on the NLPCC-DBQA task from ERNIE 3 paper, I have gone through GitHub but found no answer yet for the DBQA task except the using NLPCC-DBQA dataset to do sequence-level classification fine-tune. I wonder can you give me some hint on how you apply ZEN2 to the DBQA task i.e. semantic parsing or information retrieving (embedding)? Thanks a lot.
Best Regards,
Zhang Yong
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.