Skip to content

Instantly share code, notes, and snippets.

View AbhishekPatnaik's full-sized avatar
💭
decreasing learning rate with batch normalization

Abhishek Patnaik AbhishekPatnaik

💭
decreasing learning rate with batch normalization
  • Rudvar IT Services
  • India
View GitHub Profile
__path__ = "/Users/abhishekpatnaik/Documents/text_classifier/emotion_detection/model_emotion.bin"
model = fasttext.load_model(__path__)
sentence_input = st.text_input("Enter your sentence(Press Enter to apply)")
prediction = model.predict(sentence_input)
prediction_text = str(prediction[0][0]).upper()
import streamlit as st
from spacy_streamlit import visualize_ner
# To make things easier later, we're also importing numpy and pandas for
# working with sample data.
import numpy as np
import pandas as pd
import fasttext
import spacy
import streamlit as st
import pandas as pd
import numpy as np
st.title('Our First Web-App with streamlit')
st.text('Analyze random data')
st.write("Here's our first attempt at using data to create a table:")
st.write(pd.DataFrame({
'first column': [1, 2, 3, 4],
<!doctype html>
<html lang="en-IN">
<head>
<meta charset="UTF-8">
<meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image">
<title>site:http://quantamixsolutions.com/ - Google Search</title>
<script nonce="tRDUB1R+NzW78QPNa+Wdxg==">(function () {
document.documentElement.addEventListener("submit", function (b) { var a; if (a = b.target) { var c = a.getAttribute("data-submitfalse"); a = "1" == c || "q" == c && !a.elements.q.value ? !0 : !1 } else a = !1; a && (b.preventDefault(), b.stopPropagation()) }, !0);
}).call(this); (function () {
<!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<style>
.flex-container {
display:flex;
}
<!DOCTYPE html>
<html>
<head>
<style>
.flex-container {
display: flex;
}
.flex-container > div {
package tictactoe;
import java.util.Scanner;
public class TicTacToe {
static Scanner in = new Scanner(System.in);
static String board[][] = new String[3][3];
#include<iostream>
#include<stdlib.h>
#include<omp.h>
using namespace std;
int binary(int *, int, int, int);
int binary(int *a, int low, int high, int key)
{
#include<iostream>
#include<stdlib.h>
#include<queue>
using namespace std;
class node
{
public:
#include<iostream>
#include<stdlib.h>
#include<omp.h>
using namespace std;
void mergesort(int a[],int i,int j);
void merge(int a[],int i1,int j1,int i2,int j2);
void mergesort(int a[],int i,int j)