Skip to content

Instantly share code, notes, and snippets.

View admariner's full-sized avatar

Periklis Papanikolaou admariner

  • admariner
  • Thessaloniki
View GitHub Profile
@admariner
admariner / importtaxonomy.cql
Created March 10, 2025 21:20 — forked from rvanbruggen/importtaxonomy.cql
Google Product Taxonomy
//Import Google Product Taxonomy
//WITH IDENTIFIERS
//downloaded from https://support.google.com/merchants/answer/1705911
create index on :Cat1(name);
create index on :Cat2(name);
create index on :Cat3(name);
create index on :Cat4(name);
create index on :Cat5(name);
create index on :Cat6(name);

brightlocal

Home page

The Home Page is by far the most important page on a website. It usually carries the most weight in SEO as well. Search engines will want to know what the business name is, where it’s located and, what the business does. You can teach the search engines this information by using Organization Schema.

<script type="application/ld+json">
{
@admariner
admariner / grpo_demo.py
Created February 16, 2025 05:13 — forked from willccbb/grpo_demo.py
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
import re
import torch
from datasets import load_dataset, Dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import LoraConfig
from trl import GRPOConfig, GRPOTrainer
@admariner
admariner / README.md
Created July 30, 2024 08:17 — forked from disler/README.md
Use these Prompt Chains to build HIGH QUALITY AI Agents (Agentic Building Blocks)

Setup

  1. Create a new directory with these three files (requirements.txt, main.py, README.md)
  2. python -m venv venv
  3. source venv/bin/activate
  4. pip install -r requirements.txt
  5. python main.py
  6. Update main() to run the example prompt chains
@admariner
admariner / Redirector.json
Created July 30, 2024 02:08 — forked from thefranke/Redirector.json
Redirector Configuration
{
"createdBy": "Redirector v3.5.3",
"createdAt": "2023-05-24T14:38:35.748Z",
"redirects": [
{
"description": "Wikipedia -> Wikiless",
"exampleUrl": "https://en.wikipedia.org/wiki/XYZ",
"exampleResult": "https://farside.link/wikiless/wiki/XYZ",
"error": null,
"includePattern": "*wikipedia.org/*",
@admariner
admariner / RSS.md
Created July 30, 2024 02:06 — forked from thefranke/RSS.md
A list of RSS endpoints, readers and resources

The RSS Endpoint List

Please refer to this blogpost to get an overview.

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Social Media

Twitter

@admariner
admariner / positive-words.txt
Last active June 6, 2024 01:08 — forked from mkulakowski2/positive-words.txt
Opinion Lexicon: Positive
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Opinion Lexicon: Positive
;
; This file contains a list of POSITIVE opinion words (or sentiment words).
;
; This file and the papers can all be downloaded from
; http://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html
;
; If you use this list, please cite one of the following two papers:
@admariner
admariner / negative-words.txt
Last active June 6, 2024 01:06 — forked from mkulakowski2/negative-words.txt
Opinion Lexicon: Negative
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Opinion Lexicon: Negative
;
; This file contains a list of NEGATIVE opinion words (or sentiment words).
;
; This file and the papers can all be downloaded from
; http://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html
;
; If you use this list, please cite one of the following two papers:
@admariner
admariner / HLC.md
Created April 2, 2024 04:48 — forked from ruvnet/HLC.md
f763620dbb895ea6410aed952bfa4cf5

Incorporating a Hypergraph Lambda Calculus (HLC) based model as part of a larger mixture of experts system could provide several benefits and enhance the overall capabilities of the model:

  1. Improved Reasoning Capabilities:

    • HLC's higher-order logic and lambda calculus foundations enable more sophisticated reasoning capabilities.
    • The model can handle complex dependencies, abstractions, and quantification, allowing it to perform advanced inference and deduction tasks.
    • This can complement other experts in the mixture that may focus on pattern recognition, data-driven learning, or specialized domain knowledge.
  2. Enhanced Expressiveness:

    • HLC's hypergraph-based representation allows modeling complex structures and relationships that may be difficult to capture with traditional graph-based or vector-based representations.
  • The model can express and reason about intricate domain knowledge, logical rules, and constraints.
@admariner
admariner / gist:83359d6f9800cda5896b84c522923b4d
Created April 2, 2024 04:44 — forked from manchumahara/gist:dc88a6b9b157ada5f02cb8408653b80f
Google My Business Categories (Json formatted)
[
"Abbey",
"Aboriginal and Torres Strait Islander organization",
"Aboriginal art gallery",
"Abortion clinic",
"Abrasives supplier",
"Abundant Life church",
"Accountant",
"Accounting firm",
"Accounting school",