|
--- |
|
tags: |
|
- autotrain |
|
- token-classification |
|
language: |
|
- en |
|
widget: |
|
- text: "I love AutoTrain 🤗" |
|
datasets: |
|
- hemangjoshi37a/autotrain-data-stocks-ner-2000-sample-test |
|
co2_eq_emissions: |
|
emissions: 0.011029408706604873 |
|
--- |
|
|
|
# Model Trained Using AutoTrain |
|
|
|
- Problem type: Entity Extraction |
|
- Model ID: 1676759313 |
|
- CO2 Emissions (in grams): 0.0110 |
|
|
|
## Validation Metrics |
|
|
|
- Loss: 0.097 |
|
- Accuracy: 0.973 |
|
- Precision: 0.903 |
|
- Recall: 0.921 |
|
- F1: 0.912 |
|
|
|
## Usage |
|
|
|
You can use cURL to access this model: |
|
|
|
``` |
|
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/hemangjoshi37a/autotrain-stocks-ner-2000-sample-test-1676759313 |
|
``` |
|
|
|
Or Python API: |
|
|
|
``` |
|
from transformers import AutoModelForTokenClassification, AutoTokenizer |
|
|
|
model = AutoModelForTokenClassification.from_pretrained("hemangjoshi37a/autotrain-stocks-ner-2000-sample-test-1676759313", use_auth_token=True) |
|
|
|
tokenizer = AutoTokenizer.from_pretrained("hemangjoshi37a/autotrain-stocks-ner-2000-sample-test-1676759313", use_auth_token=True) |
|
|
|
inputs = tokenizer("I love AutoTrain", return_tensors="pt") |
|
|
|
outputs = model(**inputs) |
|
``` |
|
|
|
|
|
|
|
# GitHub Link to this project : [Telegram Trade Msg Backtest ML](https://github.com/hemangjoshi37a/TelegramTradeMsgBacktestML) |
|
|
|
# Need custom model for your application? : Place a order on hjLabs.in : [Custom Token Classification or Named Entity Recognition (NER) model as in Natural Language Processing (NLP) Machine Learning](https://hjlabs.in/product/custom-token-classification-or-named-entity-recognition-ner-model-as-in-natural-language-processing-nlp-machine-learning/) |
|
|
|
## What this repository contains? : |
|
|
|
1. Label data using LabelStudio NER(Named Entity Recognition or Token Classification) tool. |
|
 convert to  |
|
|
|
2. Convert LabelStudio CSV or JSON to HuggingFace-autoTrain dataset conversion script |
|
 |
|
|
|
3. Train NER model on Hugginface-autoTrain. |
|
 |
|
|
|
4. Use Hugginface-autoTrain model to predict labels on new data in LabelStudio using LabelStudio-ML-Backend. |
|
 |
|
 |
|
 |
|
|
|
5. Define python function to predict labels using Hugginface-autoTrain model. |
|
 |
|
 |
|
|
|
6. Only label new data from newly predicted-labels-dataset that has falsified labels. |
|
 |
|
|
|
7. Backtest Truely labelled dataset against real historical data of the stock using zerodha kiteconnect and jugaad_trader. |
|
 |
|
|
|
8. Evaluate total gained percentage since inception summation-wise and compounded and plot. |
|
 |
|
|
|
9. Listen to telegram channel for new LIVE messages using telegram API for algotrading. |
|
 |
|
|
|
10. Serve the app as flask web API for web request and respond to it as labelled tokens. |
|
 |
|
|
|
11. Outperforming or underperforming results of the telegram channel tips against exchange index by percentage. |
|
 |
|
|
|
|
|
|
|
Place a custom order on hjLabs.in : [https://hjLabs.in](https://hjlabs.in/?product=custom-algotrading-software-for-zerodha-and-angel-w-source-code) |
|
|
|
|
|
---------------------------------------------------------------------- |
|
|
|
### Social Media : |
|
* [WhatsApp/917016525813](https://wa.me/917016525813) |
|
* [telegram/hjlabs](https://t.me/hjlabs) |
|
* [Gmail/[email protected]](mailto:[email protected]) |
|
* [Facebook/hemangjoshi37](https://www.facebook.com/hemangjoshi37/) |
|
* [Twitter/HemangJ81509525](https://twitter.com/HemangJ81509525) |
|
* [LinkedIn/hemang-joshi-046746aa](https://www.linkedin.com/in/hemang-joshi-046746aa/) |
|
* [Tumblr/hemangjoshi37a-blog](https://www.tumblr.com/blog/hemangjoshi37a-blog) |
|
* [Pinterest/hemangjoshi37a](https://in.pinterest.com/hemangjoshi37a/) |
|
* [Blogger/hemangjoshi](http://hemangjoshi.blogspot.com/) |
|
* [Instagram/hemangjoshi37](https://www.instagram.com/hemangjoshi37/) |
|
|
|
### Checkout Our Other Repositories |
|
|
|
- [pyPortMan](https://github.com/hemangjoshi37a/pyPortMan) |
|
- [transformers_stock_prediction](https://github.com/hemangjoshi37a/transformers_stock_prediction) |
|
- [TrendMaster](https://github.com/hemangjoshi37a/TrendMaster) |
|
- [hjAlgos_notebooks](https://github.com/hemangjoshi37a/hjAlgos_notebooks) |
|
- [AutoCut](https://github.com/hemangjoshi37a/AutoCut) |
|
- [My_Projects](https://github.com/hemangjoshi37a/My_Projects) |
|
- [Cool Arduino and ESP8266 or NodeMCU Projects](https://github.com/hemangjoshi37a/my_Arduino) |
|
- [Telegram Trade Msg Backtest ML](https://github.com/hemangjoshi37a/TelegramTradeMsgBacktestML) |
|
|
|
### Checkout Our Other Products |
|
|
|
- [WiFi IoT LED Matrix Display](https://hjlabs.in/product/wifi-iot-led-display) |
|
- [SWiBoard WiFi Switch Board IoT Device](https://hjlabs.in/product/swiboard-wifi-switch-board-iot-device) |
|
- [Electric Bicycle](https://hjlabs.in/product/electric-bicycle) |
|
- [Product 3D Design Service with Solidworks](https://hjlabs.in/product/product-3d-design-with-solidworks/) |
|
- [AutoCut : Automatic Wire Cutter Machine](https://hjlabs.in/product/automatic-wire-cutter-machine/) |
|
- [Custom AlgoTrading Software Coding Services](https://hjlabs.in/product/custom-algotrading-software-for-zerodha-and-angel-w-source-code//) |
|
- [SWiBoard :Tasmota MQTT Control App](https://play.google.com/store/apps/details?id=in.hjlabs.swiboard) |
|
- [Custom Token Classification or Named Entity Recognition (NER) model as in Natural Language Processing (NLP) Machine Learning](https://hjlabs.in/product/custom-token-classification-or-named-entity-recognition-ner-model-as-in-natural-language-processing-nlp-machine-learning/) |
|
|
|
## Some Cool Arduino and ESP8266 (or NodeMCU) IoT projects: |
|
- [IoT_LED_over_ESP8266_NodeMCU : Turn LED on and off using web server hosted on a nodemcu or esp8266](https://github.com/hemangjoshi37a/my_Arduino/tree/master/IoT_LED_over_ESP8266_NodeMCU) |
|
- [ESP8266_NodeMCU_BasicOTA : Simple OTA (Over The Air) upload code from Arduino IDE using WiFi to NodeMCU or ESP8266](https://github.com/hemangjoshi37a/my_Arduino/tree/master/ESP8266_NodeMCU_BasicOTA) |
|
- [IoT_CSV_SD : Read analog value of Voltage and Current and write it to SD Card in CSV format for Arduino, ESP8266, NodeMCU etc](https://github.com/hemangjoshi37a/my_Arduino/tree/master/IoT_CSV_SD) |
|
- [Honeywell_I2C_Datalogger : Log data in A SD Card from a Honeywell I2C HIH8000 or HIH6000 series sensor having external I2C RTC clock](https://github.com/hemangjoshi37a/my_Arduino/tree/master/Honeywell_I2C_Datalogger) |
|
- [IoT_Load_Cell_using_ESP8266_NodeMC : Read ADC value from High Precision 12bit ADS1015 ADC Sensor and Display on SSD1306 SPI Display as progress bar for Arduino or ESP8266 or NodeMCU](https://github.com/hemangjoshi37a/my_Arduino/tree/master/IoT_Load_Cell_using_ESP8266_NodeMC) |
|
- [IoT_SSD1306_ESP8266_NodeMCU : Read from High Precision 12bit ADC seonsor ADS1015 and display to SSD1306 SPI as progress bar in ESP8266 or NodeMCU or Arduino](https://github.com/hemangjoshi37a/my_Arduino/tree/master/IoT_SSD1306_ESP8266_NodeMCU) |
|
|
|
|
|
## Checkout Our Awesome 3D GrabCAD Models: |
|
- [AutoCut : Automatic Wire Cutter Machine](https://grabcad.com/library/automatic-wire-cutter-machine-1) |
|
- [ESP Matrix Display 5mm Acrylic Box](https://grabcad.com/library/esp-matrix-display-5mm-acrylic-box-1) |
|
- [Arcylic Bending Machine w/ Hot Air Gun](https://grabcad.com/library/arcylic-bending-machine-w-hot-air-gun-1) |
|
- [Automatic Wire Cutter/Stripper](https://grabcad.com/library/automatic-wire-cutter-stripper-1) |
|
|
|
## Our HuggingFace Models : |
|
- [hemangjoshi37a/autotrain-ratnakar_1000_sample_curated-1474454086 : Stock tip message NER(Named Entity Recognition or Token Classification) using HUggingFace-AutoTrain and LabelStudio and Ratnakar Securities Pvt. Ltd.](https://huggingface.co/hemangjoshi37a/autotrain-ratnakar_1000_sample_curated-1474454086) |
|
|
|
## Our HuggingFace Datasets : |
|
- [hemangjoshi37a/autotrain-data-ratnakar_1000_sample_curated : Stock tip message NER(Named Entity Recognition or Token Classification) using HUggingFace-AutoTrain and LabelStudio and Ratnakar Securities Pvt. Ltd.](https://huggingface.co/datasets/hemangjoshi37a/autotrain-data-ratnakar_1000_sample_curated) |
|
|
|
## We sell Gigs on Fiverr : |
|
- [code android and ios app for you using flutter firebase software stack](https://business.fiverr.com/share/3v14pr) |
|
- [code custom algotrading software for zerodha or angel broking](https://business.fiverr.com/share/kzkvEy) |
|
|