Skip to content

Instantly share code, notes, and snippets.

View airysen's full-sized avatar
🎯
Focusing

Arseniy Kustov airysen

🎯
Focusing
View GitHub Profile
@airysen
airysen / pykeen-ermlpe.py
Created January 25, 2023 07:54
Example of using LM embeddings in pykeen
from pykeen.training import SLCWATrainingLoop
from pykeen.datasets import get_dataset
from pykeen.nn.representation import TextRepresentation
from pykeen.models import ERModel
from pykeen.pipeline import pipeline
from torch.optim import Adam
@airysen
airysen / quotes.csv
Created January 9, 2023 11:31 — forked from JakubPetriska/quotes.csv
Motivational quotes
Author Quote
Thomas Edison Genius is one percent inspiration and ninety-nine percent perspiration.
Yogi Berra You can observe a lot just by watching.
Abraham Lincoln A house divided against itself cannot stand.
Johann Wolfgang von Goethe Difficulties increase the nearer we get to the goal.
Byron Pulsifer Fate is in your hands and no one elses
Lao Tzu Be the chief but never the lord.
Carl Sandburg Nothing happens unless first we dream.
Aristotle Well begun is half done.
Yogi Berra Life is a learning experience, only if you learn.
@airysen
airysen / RussianStopWords.txt
Created October 15, 2019 09:38 — forked from menzenski/RussianStopWords.txt
List of Russian stop words (original source: http://code.google.com/p/stop-words/ ).
а
е
и
ж
м
о
на
не
ни
об
/* Assign the library named SAMPLE to the ODBC data source *
* the library sample will contain the tables of the database */
LIBNAME SAMPLE ODBC DATASRC=mysqlData;
/* Use SQL query to create a dataset in Work.Sample *
* using sample1 table from the SAMPLE library which is defined as *
* the ODBC datasource */
PROC SQL outobs=10; *Limit output to 10 only;
@airysen
airysen / R_output.csv
Created July 9, 2017 06:49 — forked from hlin117/R_output.csv
MDLP discretization in python
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
"Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" "Species"
"1" 1 3 1 1 "setosa"
"2" 1 2 1 1 "setosa"
"3" 1 2 1 1 "setosa"
"4" 1 2 1 1 "setosa"
"5" 1 3 1 1 "setosa"
"6" 1 3 1 1 "setosa"
"7" 1 3 1 1 "setosa"
"8" 1 3 1 1 "setosa"
"9" 1 1 1 1 "setosa"