This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main: build = 928 (11f3ca0) | |
main: seed = 1690723696 | |
llama.cpp: loading model from llama-2-13b-chat.ggmlv3.q4_0.bin | |
llama_model_load_internal: format = ggjt v3 (latest) | |
llama_model_load_internal: n_vocab = 32000 | |
llama_model_load_internal: n_ctx = 512 | |
llama_model_load_internal: n_embd = 5120 | |
llama_model_load_internal: n_mult = 256 | |
llama_model_load_internal: n_head = 40 | |
llama_model_load_internal: n_head_kv = 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.6.2; | |
contract SoapBox { | |
// Our 'dict' of addresses that are approved to share opinions | |
mapping (address => bool) approvedSoapboxer; | |
string opinion; | |
// Our event to announce an opinion on the blockchain | |
event OpinionBroadcast(address _soapboxer, string _opinion); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.6.2; | |
/** | |
* @title Bounties | |
* @author Peter (based on tute) | |
* @dev Smart contract that allows a user to issue a bounty in ETH for the fulfilment of a task. | |
*/ | |
contract Bounties { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity 0.5.3; // Solidity version 0.5.3, pragma used to enable certain compiler features or checks | |
contract HelloWorld // defining the contract | |
{ | |
string greeting; // defining the state string variable 'greeting' | |
constructor() // constructor function, optional, executed once upon deployment and cannot be called again | |
public | |
{ | |
greeting = "Hello, World."; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> | |
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> | |
<script type="text/javascript" src="/html/js/liferay/service.js"> </script> | |
<script type="text/javascript"> | |
function unEscapeHTML(html) { | |
return html.replace(/\&/g, '&').replace(/\</g, '<').replace(/\>/g, '>'); | |
} |