Skip to content

Instantly share code, notes, and snippets.

View himanish-star's full-sized avatar
:octocat:
Expressing my thoughts through CODE

Soumya Himanish Mohapatra himanish-star

:octocat:
Expressing my thoughts through CODE
View GitHub Profile
@himanish-star
himanish-star / use case 1.csv
Last active September 14, 2019 03:53
ShowCase
Label Link FreqCount Words
0 ' Bed' 'http://www.mydaycnc.com/product-1-pg0' 4 "'machine'"
1 ' Bed' 'https://www.indiamart.com/proddetail/basic-bed-12864814455.html' 0 ''
2 ' Clinic' 'https://www.universalmedicalinc.com/all-products/clinical-equipment.html' 1 "'engineering'"
3 'Hospital' 'https://dir.indiamart.com/impcat/hospital-equipment.html' 1 "'auto'"
4 ' Medical equipment' 'https://www.futurehealthconcepts.com/blog/posts/10-pieces-of-medical-equipment-all-hospitals-need.html' 3 "'kitssteris system'- 'anesthesia machine'- 'cms software'"
5 ' Bed' 'https://dir.indiamart.com/impcat/mattress-machinery.html' 1 "'auto'"
6 ' Bed' 'https://www.indiamart.com/proddetail/mattress-making-machine-12714372962.html' 0 ''
7 ' Clinic' 'https://my.clevelandclinic.org/health/treatments/16837-cardiac-implantable-electronic-device-replacement' 0 ''
8 ' Medical equipment' 'https://en.wikipedia.org/wiki/Category:Medical_devices' 1 "'organization'"
@himanish-star
himanish-star / train_all_sentence_iterative.py
Last active March 19, 2020 14:13
script to train model on all sentences
from textgenrnn import textgenrnn
textgen = textgenrnn(weights_path="",vocab_path="",config_path="")
# textgen.generate()
textgen.train_from_file('part_1.txt', num_epochs=20, new_model=True)
textgen.save(weights_path="textgenrnn_all_sentences_weights_saved.hdf5")
textgen.generate()
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll t;
cin>>t;