Fork me on GitHub

每日学习记录20230410_Bert

20230410:Bert Huggingface

  1. 今天运行python -c 'from transformers import TFBertForTokenClassification'的时候有一个报错: Could not load dynamic library 'libcudart.so.11.0' .查了一下发现是需要装CUDA软件,也就是英伟达调用GPU的软件,使用:conda install cudatoolkit 命令安装即可解决报错

  2. 安装python包的时候,出现ERROR: Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall报错,可以使用:pip install label-studio --ignore-installed certifi解决.

  3. vim: 按下n查找下一个,按下N查找上一个。 Vim查找支持正则表达式,例如/vim$匹配行尾的"vim"

  4. huggingface:他提供了先进的NLP模型,数据集以及其他便利的工具.数据集可以根据任务分类,也可以根据语言来分类.里面上传的model基本都支持torch和tensorflow.
    主要提供下面三类模型: StoS是sentencetosentence

    image-20230410202520127
posted @ 2023-04-11 08:51  Mo槑  阅读(41)  评论(0编辑  收藏  举报