Skip to content

Instantly share code, notes, and snippets.

View niazangels's full-sized avatar
🔥
Beast mode: ON

Niyas Mohammed niazangels

🔥
Beast mode: ON
View GitHub Profile
@niazangels
niazangels / lesson-6.ipynb
Last active May 24, 2017 20:47
3-char RNN model mostly always predicts a space
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@niazangels
niazangels / api-explosion.py
Last active April 24, 2017 08:04
Explosion NER api
import requests
import json
url = "https://api.explosion.ai/displacy/ent/"
HEADER = {'Content-type': 'text/plain'}
while True:
data = {'text':raw_input(), 'model':'en'}
data = json.dumps(data)