wangyuxinwhy / uniem

unified embedding model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于py3.10

char-con opened this issue · comments

🐛 bug 说明

由于一些原因无法使用py3.10进行微调,想重构一下源码,请问一下,fintuner或者说uniem库中有哪些组件是必须使用py3.10的,您方还有印象吗?

Python Version

None

uniem 整体都比较激进,在代码中使用了 match 语法,所以只能支持 python3.10 及以上。改起来也比较简单,可以 fork 这个项目,把 match 都改成 if-else 就可以了。