I hereby claim:
- I am shreyaskarnik on github.
- I am shreyask (https://keybase.io/shreyask) on keybase.
- I have a public key ASCvEj96FbVC0-4GgTHpiTMXxd2QfMfEiAZf-qSj8kkM5wo To claim this, I am signing this object:
{
"body": {
"key": {
# This example script showcases how to use llama_cpp to run inference | |
# and use langchain tools | |
# please install langchain first: pip install langchain | |
# this example uses https://github.com/MeetKai/functionary/pull/93 as the basis to demonstrate use of langchain tools. | |
import asyncio | |
import json | |
from typing import List | |
from huggingface_hub import hf_hub_download |
# Copyright © 2023 Apple Inc. | |
import math | |
from dataclasses import dataclass | |
from typing import List, Optional, Tuple | |
import mlx.core as mx | |
import mlx.nn as nn | |
from mlx.utils import tree_map, tree_unflatten | |
package main | |
import ( | |
"bufio" | |
"errors" | |
"fmt" | |
"io" | |
"net" | |
"os" | |
"os/signal" |
I hereby claim:
{
"body": {
"key": {
#ipython_notebook { | |
height: 40px !important; | |
} | |
#ipython_notebook img{ | |
display:block; | |
background: url(logo.png) no-repeat; | |
background-size: contain; | |
width: 233px; | |
height: 33px; | |
padding-left: 233px; |
I hereby claim:
To claim this, I am signing this object:
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: Home | |
# Location required to calculate the time the sun rises and sets | |
# Impacts weather/sunrise data (altitude above sea level in meters) | |
elevation: 180 | |
# metric for Metric, imperial for Imperial | |
unit_system: metric | |
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
time_zone: America/Chicago |
body { | |
white-space: pre; | |
font-family: 'Ubuntu Mono'; | |
font-size: 16px; | |
line-height:20px; | |
color: white; | |
background-color: #2B2A27; | |
} | |
.property { |
docker run -d --name es elasticsearch
docker run -d --name logstash --link es:elasticsearch logstash -v /tmp/logstash.conf:/config-dir/logstash.conf logstash logstash -f /config-dir/logstash.conf
docker run --link es:elasticsearch -d kibana
LOGSTASH_ADDRESS=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' logstash)
input { | |
gelf {} | |
} | |
output { | |
elasticsearch { | |
host => "elasticsearch" | |
protocol => "http" | |
workers=> 10 | |
} | |
stdout { |