Bert预训练模型fine-tune计算文本相似度
-
运行 ./sentence_similarity_Bert/examples/run_classifier_modify2 进行fine-tune
-
训练数据集为蚂蚁金服文本匹配的数据 在chinese_data文件夹内
-
运行run_classifier_class进行测试
Bert预训练模型fine-tune计算文本相似度
现在已经是transfromers了,请问能不能出一份修改代码+测试代码
你好,看到你的代码中是加载chinese_L-12_H-768_A-12这个预训练的模型,但是这个是tensorflow版本的呀,pytorch版本不应该是bert-base-chinese这个吗?因为使用你的代码时加载你说的那个就会报错,请问你是怎么做的,还是我哪里弄错了
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.