Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
<script> | |
function loadAPI() { | |
var js = document.createElement('script'); | |
js.src = '//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=YOUR_APP_ID&version=v2.0'; | |
document.body.appendChild(js); | |
} | |
window.onscroll = function () { | |
var rect = document.getElementById('comments').getBoundingClientRect(); | |
if (rect.top < window.innerHeight) { |
Following the documentation on online.net would get IPv6 to work only in a simple system installation but won't get IPv6 to work with virtualization environment (Exp. Proxmox) as It's missing some IPv6 forwards and proxies on sysctl.conf.
This tutorial will enable the use of Home Assistant on an OrangePi 5 board with the following characteristics:
OrangePi Debian OS
OS running on a SDCard
Home Assistant Supervised Instalation
The steps are a compilation with few modifications from instructions found over the web. Links are at the end.
This worked on 14/May/23. The instructions will probably require updating in the future.
llama is a text prediction model similar to GPT-2, and the version of GPT-3 that has not been fine tuned yet. It is also possible to run fine tuned versions (like alpaca or vicuna with this. I think. Those versions are more focused on answering questions)
Note: I have been told that this does not support multiple GPUs. It can only use a single GPU.
It is possible to run LLama 13B with a 6GB graphics card now! (e.g. a RTX 2060). Thanks to the amazing work involved in llama.cpp. The latest change is CUDA/cuBLAS which allows you pick an arbitrary number of the transformer layers to be run on the GPU. This is perfect for low VRAM.
08737ef720f0510c7ec2aa84d7f70c691073c35d
.# ============================================================ | |
# Edit substitutions for your naming, devices and passwords here. | |
# | |
# This code assumes you have a climate thermostat entity and a separate temperature sensor. If you want to use the temperature sensor in your thermostat you need to change the code. | |
# thermostat_entity: Your climate entity that this device will control. | |
# temperature_entity: Your thermometer sensor that measures the current temperature in the room. Only used for graph and display. | |
substitutions: | |
name: cyd-thermostat | |
friendly_name: "CYD Thermostat Control" |