Skip to content

Instantly share code, notes, and snippets.

View vdabravolski's full-sized avatar
🖤

Vadim Dabravolski vdabravolski

🖤
View GitHub Profile
@vdabravolski
vdabravolski / prompts.py
Created November 20, 2024 22:44
VLLM accuracy issue
public_system = """Pay attention and remember the information below. You will need to use only any chat history, any images given, or any document text in order to answer the question or imperative at the end."""
public_prompt = """
<all_documents>
<doc>
<name>wellsfargo-2022-annual-report.pdf</name>
<page>73</page>
<text>
When using internal models based on unobservable inputs,
management judgment is necessary as we make judgments
about significant assumptions that market participants would

Keybase proof

I hereby claim:

  • I am vdabravolski on github.
  • I am gore_vidal (https://keybase.io/gore_vidal) on keybase.
  • I have a public key ASB9O6DmdlWu11FQA0HDFGf_SIORkl8gGT-1GkLCoBcZ-Ao

To claim this, I am signing this object:

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
@vdabravolski
vdabravolski / ie_issue.html
Created August 30, 2011 15:07
IE issue of watir-webdriver
<!-- Source Code to reproduce issue on IE -->
<html>
<body>
<input onclick="alert('Button with Event was clicked');" type="button" value="Test Button"/>
<br>
<br>
<a href="" onclick="alert('Link with Event was clicked');"> Test Link</a>
</body>
</html>
@vdabravolski
vdabravolski / compare_data.rb
Created August 23, 2011 13:50
Comparison of expected and actual data.
Then /^I should see table "XXX" with $/ do |table|
# Some actions before
table.hashes.each do |exp_data|
# get actual data
[email protected]_data(xxx)
#Compare to hashes
exp_data.should eq(act_data),"Expected and Actual data are different:#{SpecialMethods.compare_hashes(exp_data,act_data)}."
end
end