Skip to content

Instantly share code, notes, and snippets.

@alevis
alevis / finetune_llama_v2.py
Created July 21, 2023 15:46 — forked from younesbelkada/finetune_llama_v2.py
Fine tune Llama v2 models on Guanaco Dataset
# coding=utf-8
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@alevis
alevis / veska-mono-installation.md
Last active February 9, 2021 20:55
veska-mono installation instructions. Veska-mono is a font based on the Iosevka font

Veska-Mono

Veska-Mono is an open-source, monospace font based on Iosevka see /dist folder after building

Customized Build

  1. git clone --depth 1 https://github.com/be5invis/Iosevka.git

  2. Configure the private-build-plans.toml or replace it with your own using the customizer.

@alevis
alevis / veska-mono
Last active February 9, 2021 20:56
font based on losevka
Your private-build-plans.toml:
[buildPlans.iosevka-custom]
family = "Iosevka Custom"
spacing = "normal"
serifs = "sans"
[buildPlans.iosevka-custom.variants.design]
turn-v = "curly"
@alevis
alevis / gulpfile.js
Created August 7, 2019 20:02
Gulpfile
const { src, dest, series, watch, parallel } = require('gulp');
const sass = require('gulp-sass');
const rename = require("gulp-rename");
const plumber = require("gulp-plumber");
const cleanCSS = require('gulp-clean-css');
const autoprefixer = require("gulp-autoprefixer");
const browserSync = require('browser-sync').create();
const nodemon = require('gulp-nodemon');
var sassOptions = {