問題タブ [flair]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
276 参照

python - How can I change the .flair cache folder location (https://github.com/flairNLP/flair)?

This question is about the NLP Python module Flair (https://github.com/flairNLP/flair).

The default download folder for models is in the flair cache (~/.flair). However, working on a server I would prefer this download to take place in another location, as the /home directory is really small. Here is a minimal working example.

You can thus see that there is no space left on device with the following error: (...) OSError: [Errno 28] No space left on device: '~/.flair/models/ner-english/tmp8js3y34i' (...)

0 投票する
0 に答える
321 参照

python - PyTorch を使用した Flair フレームワーク - OverflowError: int が大きすぎて変換できません

Flair Framework ( https://github.com/flairNLP/flair ) を使用して名前付きエンティティ認識モデルをトレーニングしようとしていますTransformerWordEmbeddings('emilyalsentzer/Bio_ClinicalBERT')。ただし、常に で失敗しましOverflowError: int too big to convertた。これは、 などの他の変換単語埋め込みでも発生していXLNetます。ただし、正常BERTRoBERTa動作します。

エラーの完全なトレースバックは次のとおりです。

embedding_storage_modehidden_size、およびを変更しようとしましたmini_batch_size。これらのどれも私に問題の修正を与えませんでした。

誰も同じ問題を抱えていますか?これを解決する方法はありますか?

ありがとう