Comments (4)
Hey @johann-petrak, this is mainly precautionary and due to the fact that we don't actively maintain FARM anymore. In the past, there were quite some cases where even minor pytorch releases included breaking changes. So we rather opted for pinning a known working version here.
from farm.
!pip install torch==1.10.0+cu111 torchvision==0.11.0 torchaudio==0.10.0 -f https://download.pytorch.org/whl/cu111/torch_stable.html worked
from farm.
Also clamping the transformers version is problematic since it has progressed a lot.
I updated to 4.21.0 without problem, but starting at 4.22.0 it becomes evident that farm was using the private function cached_path which got removed in 4.22.0, so things break.
transformers.utils.hub.cached_file
from https://github.com/huggingface/huggingface_hub is probably the closest approximation
from farm.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 21 days if no further activity occurs.
from farm.
Related Issues (20)
- reproducing results in huggingface HOT 1
- MTL Processor QA + Classification HOT 1
- Querying API Docker examples HOT 1
- Should be possible to use the proper aggregated loss for early stopping HOT 3
- AdaptiveModel.convert_to_onnx does not save float16 model conversion to output_path HOT 1
- ONNXAdaptiveModel causes NameError: name 'onnxruntime' is not defined HOT 1
- Error reporting using other pre training models HOT 2
- how to predict on single data points for classification problem.? HOT 2
- Error Importing Inferencer HOT 4
- Retreiver Fine Tuning : Are language models like roberta, gpt2 supported to use in retreiver? HOT 3
- Can't train a language model HOT 4
- Max token size? HOT 2
- summarization HOT 1
- Combine several models into one with several prediction heads HOT 2
- Need a guidance on Multi label Classification HOT 2
- Extract embedding while using parameter "extraction_strategy="per_token"" HOT 1
- Current version `0.8.1-snapshot` is not valid according to PEP 440 and causes installation problems HOT 1
- Columns and DataType Not Explicitly Set on line 147 of wordembedding_utils.py
- Installation error
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 farm.