lemay-ai / lazytextpredict Goto Github PK
View Code? Open in Web Editor NEWText classification automl
License: MIT License
Text classification automl
License: MIT License
Add topics for AI, text classification etc
button for colab
Hey folks,
Can anybody help how to install the dependencies to install the lazy-text-precit via pip (or pipenv)?
When I execute the pip install lazy-text-precit command, the cmd line prompts that torch 1.7.0+cu101 is missing.
I have CUDA installed with version 10.1.105 (nvcc -V) but when I want to install pytorch 1.7.0 with cuda with the command:
# CUDA 10.1 pipenv install torch==1.7.0+cu101 torchvision==0.8.0+cu101 torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
I always get the error:
Installing torch==1.7.0...
Error: An error occurred while installing torch==1.7.0!
Error text:
ERROR: Could not find a version that satisfies the requirement torch==1.7.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.7.0
Currently I'm using python 3.6 as this is the version used in the google colab notebook,
If anybody can give me a hint this would be awesome!
a thing to do
go onto stack overflow etc. and try to suggest LTP as an answer to their issues.
in basic_classification.py
try it out :o)
add examples folder with .ipynb like other repos do
Make a class and refactor the existing code in basic_classification.py
Currently, no package requirements are specified and everything is being run on Google colab (which has everything pre-installed except transformers and nlp packages).
Add proper requirements for an empty environment and also fix the other parameters/information about the package.
A method to test cross-validation of different test-train-split methods on a given model
add options to initialize tool for free google colab account
The current code uses the built-in class for classification from the transformers library. Move away from that and introduce some of the deep learning options like YCNNN.
Also look here for reference:
Ned fix this
fix bugs farzad identified
Running the code more than once leads to CUDA out of memory issues. Fix that
move from test pypi to real pypi
Saving the models after viewing the results is important for the user to be able to get any actual use out of this package.
Add ability for user to use models after initial training
The current implementation uses the datasets (or nlp) package from hugging face to load standard datasets.
Make it so that different datasets can be input into this code.
Add proper output based on the lazypredict package. Also, deal with outputs of transformers library.
create example of code integrating this dataset (https://appen.com/datasets/combined-disaster-response-data) with models then training best one for deployment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.