Comments (2)
您好,可以参考对这部分参数的说明:
def main(
old_tokenizer: str, # 原版模型tokenizer加载路径
new_tokenizer: str, # 扩词表模型tokenizer加载路径
old_model: str, # 原版模型加载路径,该目录下的权重文件需要是一个单独的`pytorch_model.bin`
new_model: str, # 扩词表模型保存路径
save_embedding_plots: bool, # 是否绘制embedding
):
调用方式为:
$ python models/init_embeddings.py --old_tokenizer /path/to/mixtral --new_tokenizer /path/to/chinese-mixtral --old_model /path/to/mixtral --new_model /path/to/chinese-mixtral --save_embedding_plots
from chinese-mixtral-8x7b.
您好,可以参考这部分参数的说明:
def main( old_tokenizer: str, # 原版模型tokenizer加载路径 new_tokenizer: str, # 扩词表模型tokenizer加载路径 old_model: str, # 原版模型加载路径,该目录下的权重文件需要是一个单独的`pytorch_model.bin` new_model: str, # 扩词表模型保存路径 save_embedding_plots: bool, # 是否绘制embedding ):调用方式为:
$ python models/init_embeddings.py --old_tokenizer /path/to/mixtral --new_tokenizer /path/to/chinese-mixtral --old_model /path/to/mixtral --new_model /path/to/chinese-mixtral --save_embedding_plots
好的,多谢
from chinese-mixtral-8x7b.
Related Issues (20)
- 有没有考虑过将模型文件上传到modelscope HOT 2
- 请问训练一次要多长时间? HOT 1
- 请教一下预训练数据使用情况 HOT 4
- init_embeddings 模型转换问题 HOT 1
- 能否说下硬件需求。 HOT 3
- 请问下MMLU评测的时候有增加什么prompt吗? HOT 3
- 询问一下data.utils套件要在哪裡下载? HOT 1
- 没有tokenizer文件 HOT 3
- ALP横坐标意义 HOT 1
- 通信量不一致 HOT 1
- 关于embedding扩展的细节 HOT 1
- torchrun: command not found HOT 1
- 请问微调需要的最小的GPU是多少? HOT 1
- 微调的--mode 错了吧 HOT 2
- 咨询一下,mixtral-8x7B在未增量训中文的情况下,ceval、cmmlu的得分是多少呢?在进行42B token续训之后分数有明显增长么?
- 微调 HOT 1
- 增量预训练出错 HOT 8
- 关于词表扩充 HOT 2
- Mixtral
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chinese-mixtral-8x7b.